/* 
 * File:   line_edit.hpp
 * Author: jolo
 *
 * Created on 5. Oktober 2011, 18:56
 */

#ifndef WIDGETS_LINE_EDIT_HPP
#define	WIDGETS_LINE_EDIT_HPP

#include <QtGui/QLineEdit>

#include <core/core.hpp>

namespace widgets
{

    class line_edit : public QLineEdit
    {
        Q_OBJECT
    public:
        line_edit(QWidget* p = 0);
        virtual ~line_edit();

        virtual void set(const string& v);

    signals:
        void changed(const string& s);

    public slots:
        virtual void on_text_change(const QString& s);
        
    private:

    };

}

#endif	/* LINE_EDIT_HPP */

